package com.ruoyi.base.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病害操作对象 base_disease
 * 
 * @author ruoyi
 * @date 2024-01-06
 */
@Data
public class BaseDisease extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 病害名称 */
    @Excel(name = "病害名称")
    private String diseaseName;

    /** 地块名称 */
    @Excel(name = "地块名称")
    private String landName;

    /** 拍摄人 */
    @Excel(name = "拍摄人")
    private String uploadBy;

    /** 拍摄图片 */
    @Excel(name = "拍摄图片")
    private String pictureUrl;

    /** 拍摄位置 */
    @Excel(name = "拍摄位置")
    private String location;

    /** 果树编号 */
    @Excel(name = "果树编号")
    private Long treeNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDiseaseName(String diseaseName) 
    {
        this.diseaseName = diseaseName;
    }

    public String getDiseaseName() 
    {
        return diseaseName;
    }
    public void setLandName(String landName) 
    {
        this.landName = landName;
    }

    public String getLandName() 
    {
        return landName;
    }
    public void setUploadBy(String uploadBy) 
    {
        this.uploadBy = uploadBy;
    }

    public String getUploadBy() 
    {
        return uploadBy;
    }
    public void setPictureUrl(String pictureUrl) 
    {
        this.pictureUrl = pictureUrl;
    }

    public String getPictureUrl() 
    {
        return pictureUrl;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setTreeNumber(Long treeNumber) 
    {
        this.treeNumber = treeNumber;
    }

    public Long getTreeNumber() 
    {
        return treeNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("diseaseName", getDiseaseName())
            .append("landName", getLandName())
            .append("uploadBy", getUploadBy())
            .append("pictureUrl", getPictureUrl())
            .append("location", getLocation())
            .append("treeNumber", getTreeNumber())
            .toString();
    }
}
